import { postMethod, getMethod } from "../../../../../utils/http";
// 置顶卡列表
export async function getList() {
    return await postMethod(`xyxy/wxapp/web/topCard/cardList`, {});
}

// 置顶卡（增）
export async function add(data = {}) {
    return await postMethod(`xyxy/wxapp/web/topCard/save`, {
        params: {
            ...data,
        }
    });
}
// 置顶卡 -(查)
export async function queryItem(id) {
    return await postMethod(`xyxy/wxapp/web/topCard/detail?id=${id}`, {});
}
// 置顶卡 -(改)
export async function edit(params) {
    return await postMethod(`xyxy/wxapp/web/topCard/edit`, {
        params,
    });
}
// 置顶卡 -(删)
export async function del(params) {
    return await postMethod(`xyxy/wxapp/web/topCard/del`, {
        params,
    });
}

// 

